package com.gl.saasservice.matchUser.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 承租人与房屋关系表
 */
public class MatchUserHouseVO {
    private Long id;//id
    private String matchUserStockId; //承租人id
    private String houseId; //房屋id
    private Long memberUserId; //成员表id
    private Integer label; //标签 1 个人承租人  2 单位承租人
    private String companyName; //单位名称
    private String socialCreditNumber; //单位社会信用证号
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startDate; //合同开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endDate; //合同结束时间
    private Integer chargeMode; //1月 2季度 3年 4半年
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime; //操作时间
    private String place;//地点  省市区
    private Long provinceId; //省
    private String province; //省名称
    private Long cityId; //市
    private String city; //市名称
    private Long districtId; //区
    private String district; //区名称
    private String residenceCommunityId; //小区id
    private String communityname;//小区名
    private Long buildingNum; //楼栋id
    private String buildname;//楼栋名
    private Long unit; //单元id
    private String unitname;//单元名
    private String roomnumber;//房号
    private String userRole;//对标签进行判断后赋值个人承租人/单位承租人

    @Override
    public String toString() {
        return "MatchUserHouseVO{" +
                "id=" + id +
                ", matchUserStockId='" + matchUserStockId + '\'' +
                ", houseId='" + houseId + '\'' +
                ", memberUserId=" + memberUserId +
                ", label=" + label +
                ", companyName='" + companyName + '\'' +
                ", socialCreditNumber='" + socialCreditNumber + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", chargeMode=" + chargeMode +
                ", createTime=" + createTime +
                ", place='" + place + '\'' +
                ", provinceId=" + provinceId +
                ", province='" + province + '\'' +
                ", cityId=" + cityId +
                ", city='" + city + '\'' +
                ", districtId=" + districtId +
                ", district='" + district + '\'' +
                ", residenceCommunityId='" + residenceCommunityId + '\'' +
                ", communityname='" + communityname + '\'' +
                ", buildingNum=" + buildingNum +
                ", buildname='" + buildname + '\'' +
                ", unit=" + unit +
                ", unitname='" + unitname + '\'' +
                ", roomnumber='" + roomnumber + '\'' +
                ", userRole='" + userRole + '\'' +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMatchUserStockId() {
        return matchUserStockId;
    }

    public void setMatchUserStockId(String matchUserStockId) {
        this.matchUserStockId = matchUserStockId;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public Long getMemberUserId() {
        return memberUserId;
    }

    public void setMemberUserId(Long memberUserId) {
        this.memberUserId = memberUserId;
    }

    public Integer getLabel() {
        return label;
    }

    public void setLabel(Integer label) {
        this.label = label;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getSocialCreditNumber() {
        return socialCreditNumber;
    }

    public void setSocialCreditNumber(String socialCreditNumber) {
        this.socialCreditNumber = socialCreditNumber;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Integer getChargeMode() {
        return chargeMode;
    }

    public void setChargeMode(Integer chargeMode) {
        this.chargeMode = chargeMode;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getCommunityname() {
        return communityname;
    }

    public void setCommunityname(String communityname) {
        this.communityname = communityname;
    }

    public String getBuildname() {
        return buildname;
    }

    public void setBuildname(String buildname) {
        this.buildname = buildname;
    }

    public String getUnitname() {
        return unitname;
    }

    public void setUnitname(String unitname) {
        this.unitname = unitname;
    }

    public String getRoomnumber() {
        return roomnumber;
    }

    public void setRoomnumber(String roomnumber) {
        this.roomnumber = roomnumber;
    }

    public String getUserRole() {
        return userRole;
    }

    public void setUserRole(String userRole) {
        this.userRole = userRole;
    }

    public Long getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public Long getDistrictId() {
        return districtId;
    }

    public void setDistrictId(Long districtId) {
        this.districtId = districtId;
    }

    public String getResidenceCommunityId() {
        return residenceCommunityId;
    }

    public void setResidenceCommunityId(String residenceCommunityId) {
        this.residenceCommunityId = residenceCommunityId;
    }

    public Long getBuildingNum() {
        return buildingNum;
    }

    public void setBuildingNum(Long buildingNum) {
        this.buildingNum = buildingNum;
    }

    public Long getUnit() {
        return unit;
    }

    public void setUnit(Long unit) {
        this.unit = unit;
    }
}
